package com.ruoyi.appuser.domain.vo;

import java.io.Serializable;
import java.math.BigDecimal;

public class AppuserTaskVo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**任务id*/
    private String taskId;
    /**赛季id*/
    private String playSeasonId;
    /**产品id*/
    private String productId;
    /**任务类型1视频2商品*/
    private Integer type;
    /**任务名称*/
    private String name;
    /**任务描述*/
    private String detail;
    /**任务数量*/
    private Integer counts;
    /**任务数量*/
    private Integer completedCounts;
    /**排序*/
    private Integer sort;
    /**任务积分*/
    private BigDecimal taskIntegral;

    public String getPlaySeasonId() {
        return playSeasonId;
    }

    public void setPlaySeasonId(String playSeasonId) {
        this.playSeasonId = playSeasonId;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public Integer getCompletedCounts() {
        return completedCounts;
    }

    public void setCompletedCounts(Integer completedCounts) {
        if(completedCounts == null){
            this.completedCounts = 0;
        }else {
            this.completedCounts = completedCounts;
        }
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public Integer getCounts() {
        return counts;
    }

    public void setCounts(Integer counts) {
        this.counts = counts;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public BigDecimal getTaskIntegral() {
        return taskIntegral;
    }

    public void setTaskIntegral(BigDecimal taskIntegral) {
        this.taskIntegral = taskIntegral;
    }
}
